package genetic.q1.functions;

public class Variable implements ProgramObject{
	

	String name;
	int value;
	public Variable(String name){
		this.name = name;
		this.value = 0;
	}
	
	public int getValue(){
		return value;
	}
	
	public String toString(){
		return name;
	}

	public String getObjectName() {
		return name;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
	public Variable createInstance(){
		return new Variable(name);
	}
	
	public void init(int[] list){
	}
}
